Pages are files you write that get packaged and rendered along with your documentation output. You can write these files in Markdown or plaintext.
Pages can be organized in several different ways:
For tips about how to organize your pages, see Page Organization.
Follow these steps to create your first page:
Create a new Markdown page and give it some content.
ExamplePage.md
### Header
Super important list:
- Item 1
- Item 2
- Item 3
Every page is either:
Your configuration must include at least one top-level page group.
To create a top-level page group, first, add a "groups" property to your configuration file. Next, add a new group definition with a "title" property and an empty "pages" array.
pagesconfig.json
{
"groups": [
{
"title": "Example Page Group",
"pages": []
}
]
}
The group title will be displayed as a header in the navigation sidebar and pages that belong to this group will show up under that header.
Add a new page definition to your newly created group, defining a title and source:
pagesconfig.json
{
"groups": [
{
"title": "Example Page Group",
"pages": [
{
"title": "Example Page",
"source": "./path/to/ExamplePage.md"
}
]
}
]
}
The "title" property defines what will be displayed in the navigation sidebar and breadcrumbs. The "source" property is the path to your source file. By default, relative paths are relative to the directory you run TypeDoc from.
Additional pages and page groups can be created by adding additional page and page group definitions in your configuration. See {@page Ordering Pages} for information on order your pages and page groups.
You can also add pages and page groups as children of your other pages. For more information, see Child Pages and {@page Sub-Groups}.
Generated using TypeDoc